#ifndef _SETUP_H_
#define _SETUP_H_

#include "main.h"

struct eedat{
  unsigned char openSpeed;
	unsigned char closeSpeed;
	unsigned char openSlowPhase;
	unsigned char closeSlowPhase;
	unsigned char openFastTime;
	unsigned char closeFastTime;
	unsigned char openStopSpeed;
  unsigned char closeStopSpeed;
	unsigned char openStopSpeedPhase;
	unsigned char closeStopSpeedPhase;
	unsigned char closeBrakePhase;
	unsigned char closeBrakeTime;
	unsigned char powerOnSpeed;
	unsigned char romoteNum;
	unsigned char openHoldTime;
	unsigned char rfidDelayTime;
};


enum MENU
{
  POWER_ON=0,
	MOTO_TEST,
	MOTO_ERROR,
	SHOW_MONTH_DAY,
	SHOW_YEAR,
};



void setup_menu(void);
void show_time(void);
void show_month(void);
void show_year(void);
void show_week(void);
void show_Err(void);
void show_String(unsigned char *str);
void show_Num(unsigned short num);
void show_Dig_4(unsigned char *str);

#endif
